// 命令的实际执行者

export interface IRecieve {
  refreshContent: string;
  refresh(): void;
}

class Reciever implements IRecieve {
  constructor(props: IRecieve['refreshContent']) {
    this.refreshContent = props;
  }
  refreshContent = '';
  refresh() {
    console.log(this.refreshContent)
  }
}

export default Reciever